package cn.kgc.demo.entity;

import org.springframework.stereotype.Component;

@Component
public class Student {

  private long id;
  private String stunum;
  private String name;
  private String gender;
  private long age;
  private String nation;
  private String birthday;
  private String grade;
  private String specialty;
  private String classes;
  private String politicstatus;
  private String address;
  private String phone;


  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getStunum() {
    return stunum;
  }

  public void setStunum(String stunum) {
    this.stunum = stunum;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getGender() {
    return gender;
  }

  public void setGender(String gender) {
    this.gender = gender;
  }


  public long getAge() {
    return age;
  }

  public void setAge(long age) {
    this.age = age;
  }


  public String getNation() {
    return nation;
  }

  public void setNation(String nation) {
    this.nation = nation;
  }


  public String getBirthday() {
    return birthday;
  }

  public void setBirthday(String birthday) {
    this.birthday = birthday;
  }


  public String getGrade() {
    return grade;
  }

  public void setGrade(String grade) {
    this.grade = grade;
  }


  public String getSpecialty() {
    return specialty;
  }

  public void setSpecialty(String specialty) {
    this.specialty = specialty;
  }


  public String getClasses() {
    return classes;
  }

  public void setClasses(String classes) {
    this.classes = classes;
  }


  public String getPoliticstatus() {
    return politicstatus;
  }

  public void setPoliticstatus(String politicstatus) {
    this.politicstatus = politicstatus;
  }


  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }


  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  @Override
  public String toString() {
    return "SchoolStudent{" +
            "id=" + id +
            ", stunum='" + stunum + '\'' +
            ", name='" + name + '\'' +
            ", gender='" + gender + '\'' +
            ", age=" + age +
            ", nation='" + nation + '\'' +
            ", birthday='" + birthday + '\'' +
            ", grade='" + grade + '\'' +
            ", specialty='" + specialty + '\'' +
            ", classes='" + classes + '\'' +
            ", politicstatus='" + politicstatus + '\'' +
            ", address='" + address + '\'' +
            ", phone='" + phone + '\'' +
            '}';
  }
}
